package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.dto.NursingLevelPageQueryDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    /**
     * 分页查询护理等级信息
     * @return
     */
    PageBean<NursingLevelVo> pageBean(NursingLevelPageQueryDto dto);
    /**
     * 插入护理等级信息
     * @param dto
     * @return
     */
    void insert(NursingLevelDto dto);
    /**
     * 根据ID查询护理等级信息
     */
    NursingLevelVo getById(Long id);

    void update(NursingLevelDto dto);
    /**
     * 删除护理等级信息
     */
    void delete(Long id);
    /**
     * 启用、禁用护理等级
     */
    void startOrStop(Long id, Integer status);
    /**
     * 查询所有护理等级信息
     */
    List<NursingLevelVo> getAll();
}
